﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Aga.Psad.Common.Properties;

namespace Aga.Psad.Common
{
    public static class Config
    {
        public static string ImageFilesRootFolderPath
        {
            get
            {
                return Settings.Default.ImageFilesRootFolderPath;
            }
        }

        public static string PdfFilesRootFolderPath
        {
            get
            {
                return Settings.Default.PdfFilesRootFolderPath;
            }
        }

        public static string AgaConnectionString
        {
            get
            {
                return Settings.Default.AgaConnectionString;
            }
        }

        public static string TipoAgente
        {
            get
            {
                return Settings.Default.TipoAgente;
            }
        }

        public static string CuitAgente
        {
            get
            {
                return Settings.Default.CuitAgente;
            }
        }

        public static PdfBuildType PdfBuildStrategy
        {
            get
            {
                return (PdfBuildType)Enum.Parse(typeof(PdfBuildType), Settings.Default.PdfBuildStrategy);
            }
        }

        public static string WsaaLoginCMSService
        {
            get
            {
                return Settings.Default.WsaaLoginCMSService;
            }
        }

        public static string WSDigDepFiel
        {
            get
            {
                return Settings.Default.WSDigDepFiel;
            }
        }

        public static string PsadServiceUrl
        {
            get
            {
                return Settings.Default.PsadServiceUrl;
            }
        }

        public static string PdfFilesNamingConvention
        {
            get
            {
                return Settings.Default.PdfFilesNamingConvention;
            }
        }
    }
}
